<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>大坝碾压监测系统</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="../css/mui.min.css" rel="stylesheet" />
		<link href="../css/own.css" rel="stylesheet" />
	</head>

	<body style="background: #FFFFFF;">
		<header class="mui-bar own-mui-bar-nav own-main-background-color">
			<h1 class="mui-title">大坝碾压监测系统</h1>
		   <a id="a_chose" class="mui-icon mui-icon mui-icon-list mui-pull-right" id="a_add" style="margin-right: 0.2rem;"></a>	 
		</header>

		<script src="../js/mui.min.js"></script>
		<script src="../js/jquery-1.7.2.min.js"></script>
		<script src="../js/common.js"></script>
		<script type="text/javascript">
			
			 window.addEventListener('newsId',function(event){ 
				  var urls = event.detail.url+'?node='+localStorage.getItem('node')+'&token='+localStorage.getItem('token');
				 	
					mui.init({
						  subpages:[{
						    url:urls,
						    id:'zy',
						    styles:{
						    	top: '44px',
								bottom: '0px'
						    }
						  }]
			           });
			        });
			
			mui.plusReady(function() {

				   document.getElementById("a_chose").addEventListener('tap',function () {
					 plus.webview.getWebviewById('view/main_tab.html').evalJS("setshow();");
		
				});
				
				
				
				var first = null;
				mui.back = function() {
					if(!first) {
						first = new Date().getTime();
						mui.toast('再按一次退出应用');
						setTimeout(function() {
							first = null;
						}, 1000);
					} else {
						if(new Date().getTime() - first < 1000) {
							plus.runtime.quit();
						}
					}
				}
			})
		</script>
	</body>

</html>